<?php

ini_set('display_errors', 1);
error_reporting(-1);
require_once '/data/wwwroot/g_vendor/autoload.php';


use Biz\model\activity\LimitTimeRobbing;

$RobInfos = LimitTimeRobbing::select('*', [
	'end_time[>]' => date('Y-m-d H:i:s'),
	'status' => LimitTimeRobbing::STATUS_NORMAL,
]);

$goodsIds = array_column($RobInfos, 'goods_id');

\Biz\cache\Activitys::setMultiRobbing($goodsIds);
